From: Jasper St. Pierre Date: Tue, 3 Dec 2013 20:41:42 +0000 (-0500) Subject: background: Fix the check for spanning backgrounds X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3025 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=04ea95049a0e35825a502bb1dc2ff65e3cfe23b2;p=gnome-shell.git background: Fix the check for spanning backgrounds this._monitorIndex does not exist, and neither does MetaBackground.monitor_index... https://bugzilla.gnome.org/show_bug.cgi?id=719803 --- diff --git a/js/ui/background.js b/js/ui/background.js index c50ae29a0..1f9e49490 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -222,7 +222,7 @@ const BackgroundCache = new Lang.Class({ continue; if (params.style == GDesktopEnums.BackgroundStyle.SPANNED && - this._images[i].monitor_index != this._monitorIndex) + this._images[i].monitor != params.monitorIndex) continue; candidateContent = this._images[i];